import 'package:development_assistant/ui/screen/api_assistant/screen/api_manage.dart';
import 'package:development_assistant/ui/screen/api_assistant/screen/edit_api.dart';
import 'package:development_assistant/ui/screen/api_assistant/screen/quick_request.dart';
import 'package:development_assistant/ui/screen/database_assistant/screen/add_database.dart';
import 'package:development_assistant/ui/screen/database_assistant/screen/add_table.dart';
import 'package:development_assistant/ui/screen/database_assistant/screen/edit_database.dart';
import 'package:development_assistant/ui/screen/database_assistant/screen/table_detail.dart';
import 'package:development_assistant/ui/screen/home/guide_page.dart';
import 'package:development_assistant/ui/screen/home/home.dart';
import 'package:development_assistant/ui/screen/server_assistant/screen/add_server.dart';
import 'package:development_assistant/ui/screen/test_assistant/screen/auto_test.dart';
import 'package:development_assistant/ui/screen/test_assistant/screen/test_detail.dart';
import 'package:development_assistant/ui/screen/test_assistant/screen/test_result.dart';
import 'package:get/get.dart';
import '../ui/screen/server_assistant/screen/add_docker.dart';
import '../ui/screen/server_assistant/screen/edit_docker.dart';
import '../ui/screen/server_assistant/screen/edit_server.dart';
import '../ui/screen/test_assistant/screen/add_api.dart';

class AppRouter{
  static List<GetPage> appRouters(){
    List<GetPage> allRouters=[
      GetPage(name: '/GuidePage', page: ()=> GuidePage()),
      GetPage(name: '/Home', page: ()=> Home()),
      GetPage(name: '/AddServer', page: ()=>AddServer()),
      GetPage(name: '/AddDocker', page: ()=>AddDocker()),
      GetPage(name: '/EditServer', page: ()=>EditServer()),
      GetPage(name: '/EditDocker', page: ()=>EditDocker()),
      GetPage(name: '/ApiManage', page: ()=> ApiManage()),
      GetPage(name: '/EditApi', page: ()=> EditApi()),
      GetPage(name: '/QuickRequest', page: ()=> QuickRequest()),
      GetPage(name: '/AutoTest', page: ()=> AutoTest()),
      GetPage(name: '/AddApi', page: ()=> AddApi()),
      GetPage(name: '/TestResult', page: ()=> TestResult()),
      GetPage(name: '/TestDetail', page: ()=> TestDetail()),
      GetPage(name: '/AddDatabase', page: ()=> AddDatabase()),
      GetPage(name: '/TableDetail', page: ()=> TableDetail()),
      GetPage(name: '/EditDatabase', page: ()=> EditDatabase()),
      GetPage(name: '/AddTable', page: ()=> AddTable()),

    ];
    return allRouters;
  }

  static String initRouter(){
    return '/GuidePage';
  }

}